UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Apache web server must have resource mappings set to disable the serving of certain file types.


Overview

Finding ID Version Rule ID IA Controls Severity
V-214323 AS24-W1-000300 SV-214323r505936_rule Medium
Description
Resource mapping is the process of tying a particular file type to a process in the web server that can serve that type of file to a requesting client and to identify which file types are not to be delivered to a client. By not specifying which files can and cannot be served to a user, the web server could deliver to a user web server configuration files, log files, password files, etc. The web server must only allow hosted application file types to be served to a user, and all other types must be disabled. Satisfies: SRG-APP-000141-WSR-000081, SRG-APP-000141-WSR-000083
STIG Date
Apache Server 2.4 Windows Server Security Technical Implementation Guide 2020-09-25

Details

Check Text ( C-15535r277472_chk )
Review the <'INSTALL PATH'>\conf\httpd.conf file.

If "Action" or "AddHandler" exist and they configure .exe, .dll, .com, .bat, or .csh, or any other shell as a viewer for documents, this is a finding.
Fix Text (F-15533r277473_fix)
Disable MIME types for .exe, .dll, .com, .bat, and .csh programs.

If "Action" or "AddHandler" exist and they configure .exe, .dll, .com, .bat, or .csh, remove those references.

Restart the Apache service.